package cn.lee.share;

import java.awt.GridBagLayout;

import javax.swing.JFrame;

public class testSwing extends JFrame{
    public testSwing(){
        this.setSize(400, 200);
        KindleShareFrame kindleShareFrame = new KindleShareFrame();
        this.add(kindleShareFrame.start);
        this.add(kindleShareFrame.stop);
        this.add(kindleShareFrame.getTextArea());
    }
    public static void main(String[] args) {
        testSwing frame = new testSwing();
        frame.setLayout(new GridBagLayout());
        frame.setVisible(true);  
    }
}
